import request from "@/util/request";

export const loginRequest = (data) =>{
    return request({
        url: '/applet/public/login',
        method: 'post',
        data
    })
}
export const getUserInfo=()=>{
    return request({
        url: '/applet/user/getInfo',
        method: 'get',
    })
}
export const updateInfo = (data) =>{
    return request({
        url: '/applet/user/updateInfo',
        method: 'post',
        data
    })
}

export const getwallet=()=>{
	return request({
	    url: `/applet/user/getWalletInfo`,
	    method: 'get',
			
	})
}

export const getuserDrinfo=()=>{
	return request({
	    url: `/applet/user/getDrInfo`,
	    method: 'get',
			
	})
}


export const submitProve=()=>{
	return request({
	    url: `/applet/user/submitProve`,
	    method: 'get',
			
	})
}

export const bankCard=()=>{
	return request({
	    url: `/applet/user/bind/bankCard`,
	    method: 'get',
			
	})
}


export const userBank=()=>{
	return request({
	    url: `/applet/user/userBank/list`,
	    method: 'get',
			
	})
}


export const count=()=>{
	return request({
	    url: `/applet/count/income`,
	    method: 'get',
			
	})
}
